SftTree/NET 2.0

CellFromPoint Method, SftTree Class

Softel vdm, Inc.

Determines the cell given a point in the item area.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Function CellFromPoint( _
     ByVal searchPoint As Point, _
     ByVal fReal As Boolean _
  ) As CellClass

C#   

public CellClass CellFromPoint(
     Point searchPoint,
     bool fReal );

C++   

public: CellClass^ CellFromPoint(
     Point searchPoint,
     bool fReal );

fReal

Defines whether the physical cell is returned or the main cell for merged cells. Specify True to return the real cell, False to return the main cell of a group of merged cells.

searchPoint

Defines the coordinates relative to the top, left corner of the control.

Return Value

The cell at the given coordinates.

Comments

The CellFromPoint method determines the cell given a point in the item area.

The point can be located within the item area only.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com